using System;
using System.Collections.Generic;
using System.Text;

namespace FscNET.CooTraceMapEditor
{
    using Tracing;

    class Program
    {
        static void Main(string[] args)
        {
            if (args == null || args.Length == 0) return;
            int value;
            if(int.TryParse(args[0], out value))
                using (CMemoryMappedFile mmf = new CMemoryMappedFile("CooTraceMapFile", "CooTraceMap", 4))
                    mmf.WriteInt32((int)value);
        }
    }
}
